﻿namespace TradePublish.Common
{
    using System;
    using System.Collections;

    public class Global
    {
        public static string antiSearchUrl = "http://sbcx.saic.gov.cn/trade/servlet?Search=SX_Reg&IntCls=${0}&QunCode=&Content=${1}&SearchMode=Word&selectClass=${2};";
        public static string Applay = "http://sbcx.saic.gov.cn/trade/SelectReg/ResultAppNameList.jsp";
        public static int clientNo;
        public static string DBLinkStrSQL;
        public static string Detial = "http://sbcx.saic.gov.cn";
        public static Hashtable emailFilter = new Hashtable();
        public static string IPDBLinkStrSQL;
        public static bool isSearchEmail;
        public static bool isServer;
        public static int level = 2;
        public static string Liucheng = "http://sbcx.saic.gov.cn";
        public static string LoginURL = "http://sbcx.saic.gov.cn/trade/index.jsp";
        public static int page = 1;
        public static string RegNo = "http://sbcx.saic.gov.cn/trade/servlet?Search=TI_Reg&RegNO=";
        public static string serverNameInlan;
        public static string serverIpInlan;
        public static string TMImageBasePath;
        ////45类关联 
        public static Int32[,] categoryOOlink = new Int32[,]{{1,2,0,0,0,0},
                                                            {2,1,0,0,0,0},
                                                            {3,5,21,44,0,0},
                                                            {4,0,0,0,0,0}, 
                                                            {5,3,21,44,10,0},
                                                            {6,19,0,0,0,0},
                                                            {7,8,37,11,12,0},
                                                            {8,7,37,11,12,0},
                                                            {9,38,42,0,0,0},
                                                            {10,5,0,0,0,0}, 
                                                            {11,7,8,37,12,0},
                                                            {12,7,8,37,11,0},
                                                            {13,0,0,0,0,0},
                                                            {14,20,26,0,0,0},
                                                            {15,0,0,0,0,0},
                                                            {16,41,0,0,0,0},
                                                            {17,0,0,0,0,0},
                                                            {18,25,28,0,0,0},
                                                            {19,0,0,0,0,0},
                                                            {20,14,26,0,0,0},
                                                            {21,3,5,44,0,0},
                                                            {22,23,24,25,0,0},
                                                            {23,22,24,25,0,0},
                                                            {24,22,23,25,27,0},
                                                            {25,22,23,24,28,18},
                                                            {26,14,20,0,0,0},
                                                            {27,24,0,0,0,0},
                                                            {28,25,18,0,0,0},
                                                            {29,30,31,43,0,0},
                                                            {30,29,31,43,0,0},
                                                            {31,29,30,43,0,0},
                                                            {32,33,0,0,0,0},
                                                            {33,32,0,0,0,0},
                                                            {34,0,0,0,0,0},
                                                            {35,41,42,0,0,0},
                                                            {36,0,0,0,0,0},
                                                            {37,7,8,11,12,0},
                                                            {38,9,42,0,0,0},
                                                            {39,0,0,0,0,0},
                                                            {40,0,0,0,0,0},
                                                            {41,16,35,42,0,0},
                                                            {42,9,38,42,35,41},
                                                            {43,29,30,31,0,0},
                                                            {44,3,5,21,0,0},
                                                            {45,0,0,0,0,0}
                                                           };
    }
}

